package org.example.teachermall04.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Goods {
    private BigDecimal salePrice;//通过Mybatis自动转换，回去数据库good表找sale_price
    private Integer id;
    private String name;
    private Integer categoryId;//对应category_id
    private String no;
    private BigDecimal marketPrice;
    private Integer stock;
    private String image;
    private String hottest;
    private String newest;
    private String description;
    private Date saleTime;
    private String status;
}
